import { createRequest } from '@/request'
import { formData } from '@/request/common'

// 教师审核通过
export const teacherProjectTeamApproved = data => {
  return createRequest({
    url: `/teacher/project-team/approved`,
    method: 'post',
		data: formData(data)
  })
}

// 教师审核拒绝
export const teacherProjectTeamRejected = data => {
  return createRequest({
    url: `/teacher/project-team/rejected`,
    method: 'post',
		data: formData(data)
  })
}

// 审批记录
export const teacherProjectTeamList = (projectId,data) => {
	console.log(projectId,data)
  return createRequest({
    url: `/teacher/project-team/list/${projectId}`,
    method: 'post',
		data
  })
}
// 教师待审核/指导学生列表
export const teacherProjectTeamMyStudentList = data => {
  return createRequest({
      url: `/teacher/project-team/myStudentList`,
      method: 'get',
      params: data
  })
}
// 教师待审核/指导学生列表
export const teacherProjectTeamMyStudentCount = data => {
  return createRequest({
      url: `/teacher/project-team/myStudentCount`,
      method: 'get',
      params: data
  })
}

// 全部查询
export const teacherGradeClassFindAll = data => {
  return createRequest({
      url: `/teacher/grade/class/findAll`,
      method: 'get',
      params: data
  })
}




